package com.greensoftcodeplus.redislog.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix ="myconfig")
public class MyRedisPropertiesLog {
    private  boolean     myRedisLogEnable=true;
    private  String       myRedisLogpath="F:/temp"; //保存日志
    private  String       myRedisLogfilename="spring-boot-redis-LogPlus.txt"; //保持文件名
    private  int           myOnlyDays=3;  //保留最近几天日志
}
